package org.hefan.pet.service;

import org.hefan.basic.service.IBaseService;
import org.hefan.basic.util.PageList;
import org.hefan.pet.domain.Pet;
import org.hefan.pet.domain.SearchMasterMsg;
import org.hefan.pet.query.SearchMasterMsgQuery;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface ISearchMasterMsgService extends IBaseService<SearchMasterMsg> {

    List<SearchMasterMsg> getAll();

    void publish(SearchMasterMsg searchMasterMsg, HttpServletRequest request);

    PageList<SearchMasterMsg> pending(SearchMasterMsgQuery searchMasterMsgQuery, HttpServletRequest request);

    PageList<SearchMasterMsg> processed(SearchMasterMsgQuery searchMasterMsgQuery, HttpServletRequest request);

    PageList<SearchMasterMsg> user(SearchMasterMsgQuery searchMasterMsgQuery, HttpServletRequest request);

    void handle(Pet pet, HttpServletRequest request);
}
